cmake_minimum_required(VERSION 3.16)
project(my_rgbd_slam)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#设定存放编译出来的库文件的目录
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib) 
#并且把该目录设为连接目录
link_directories(${PROJECT_SOURCE_DIR}/lib)
add_subdirectory(src)
